﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Templates_Galleries_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMain" Runat="Server">
    <asp:ListView ID="listGalleries" DataSourceID="dsGalleries" GroupItemCount="3" runat="server">
        
        <LayoutTemplate>
            <div class="centre">
                <asp:PlaceHolder ID="groupPlaceHolder" runat="server" />
            </div>
        </LayoutTemplate>
        
        <GroupTemplate>
            <div style="width:630px;margin:0px auto;" class="clearfix">
                    <asp:PlaceHolder ID="itemPlaceHolder" runat="server" />
            </div>
        </GroupTemplate>
        
        <ItemTemplate>
            <div style='width:200px; margin:5px;float:left;'>
                <acms:PostThumbnail ID="thumb" RenderHeight="300" RenderWidth="200" HyperLink="true" runat="server" />
                <p><acms:PostLink ID="link" runat="server" /></p>
            </div>
        </ItemTemplate>
    </asp:ListView>
    <acms:PostDataSource ID="dsGalleries" OnSelectData="dsGalleries_SelectData" runat="server" />
</asp:Content>

